package com.itheima.goods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.goods.pojo.Goods;
import com.itheima.goods.vo.ResultInfo;

import java.util.List;

public interface GoodsService extends IService<Goods> {
    ResultInfo findAll();

    ResultInfo add(Goods goods);

    ResultInfo findPage(Integer page, Integer size);

    ResultInfo findById(Integer id);

    ResultInfo updateGoods(Integer id, Goods goods);
}
